package com.desidea.common
{
	public class MenuIcons
	{
		[Embed( source='../../../Images/buttonicon/InboundIcon.png' ) ]
		private static const iconInbound	:Class;

		[Embed( source='../../../Images/buttonicon/OnSiteIcon.png' ) ]
		private static const iconOnSite	:Class;

		[Embed( source='../../../Images/buttonicon/OutBoundIcon.png' ) ]
		private static const iconOutBound	:Class;

		[Embed( source='../../../Images/buttonicon/DepartedIcon.png' ) ]
		private static const iconDeparted	:Class;

		[Embed( source='../../../Images/buttonicon/VisitorsIcon.png' ) ]
		private static const iconVisitors	:Class;

		[Embed( source='../../../Images/buttonicon/VendorsIcon.png' ) ]
		private static const iconVendors	:Class;
		
		[Embed( source='../../../Images/buttonicon/IncidentsIcon.png' ) ]
		private static const iconIncidents	:Class;

		[Embed( source='../../../Images/buttonicon/LogSheetIcon.png' ) ]
		private static const iconLogsheet	:Class;
		
		[Embed( source='../../../Images/buttonicon/MonthlyTrafficIcon.png' ) ]
		private static const iconMonthlyTraffic	:Class;
		
		[Embed( source='../../../Images/buttonicon/ContainersThisMonthIcon.png' ) ]
		private static const iconMonthlyContainers	:Class;
		/////////////
		[Embed( source='../../../Images/buttonicon/ContainerTimeAnalysisIcon.png' ) ]
		private static const iconContainerTimeAnalysis	:Class;
		
		[Embed( source='../../../Images/buttonicon/OpenLateContainersIcon.png' ) ]
		private static const iconOpenLateContainers	:Class;
		
		[Embed( source='../../../Images/buttonicon/LoadedContainersOnSiteIcon.png' ) ]
		private static const iconLoadedContainersOnSite	:Class;
		
		[Embed( source='../../../Images/buttonicon/EmptyContainersOnSiteIcon.png' ) ]
		private static const iconEmptyContainersOnSite	:Class;
		
		[Embed( source='../../../Images/buttonicon/ContainersSealProblemsIcon.png' ) ]
		private static const iconContainersSealProblems	:Class;
		
		[Embed( source='../../../Images/buttonicon/VisitorsAfter6PMIcon.png' ) ]
		private static const iconVisitorsAfter6PM	:Class;

		[Embed( source='../../../Images/buttonicon/MaintainCarrierIcon.png' ) ]
		private static const iconMaintainCarriers	:Class;

		public static function getIcon(menuId:String):Class{
			switch(menuId){
				case "110": 
				case "210":
					return iconInbound;
				case "120": 
				case "220":
					return iconOnSite;
				case "130": 
				case "230": 
					return iconOutBound;
				case "140":
				case "240":
					return iconDeparted;
				case "310":
					return iconVisitors;
				case "320":
					return iconVendors;
				case "410":
					return iconIncidents;
				case "420":
					return iconLogsheet;
				case "430":
					return iconMonthlyTraffic;
				case "440":
					return iconMonthlyContainers;
				case "510":
					return iconContainerTimeAnalysis;
				case "520":
					return iconOpenLateContainers;
				case "530":
					return iconLoadedContainersOnSite;
				case "540":
					return iconEmptyContainersOnSite;
				case "550":
					return iconContainersSealProblems;
				case "560":
					return iconVisitorsAfter6PM;
				case "610":
					return iconMaintainCarriers;
				default:
					return null; 
			}
		}


	}
}